package com.ruoyi.part.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.utils.vo.PoCommon;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 零件采购详细对象 dms_parts_purchase_order_detail
 * 
 * @author liuchuanfa
 * @date 2024-03-17
 */
public class DmsPartsPurchaseOrderDetail extends PoCommon
{
    private static final long serialVersionUID = 1L;

    /** 零件采购订单ID */
    @Excel(name = "零件采购订单ID")
    private Long purchaseId;

    /** 零件代码 */
    @Excel(name = "零件代码")
    private String partNo;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    public void setPurchaseId(Long purchaseId) 
    {
        this.purchaseId = purchaseId;
    }

    public Long getPurchaseId() 
    {
        return purchaseId;
    }
    public void setPartNo(String partNo) 
    {
        this.partNo = partNo;
    }

    public String getPartNo() 
    {
        return partNo;
    }

    public String getRemark() {return remark;}

    public void setRemark(String remark) {this.remark = remark;}

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("purchaseId", getPurchaseId())
            .append("partNo", getPartNo())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createUserName", getCreateUserName())
            .append("updateUserName", getUpdateUserName())
            .append("version", getVersion())
            .append("deleteFlag", getDeleteFlag())
            .toString();
    }
}
